package com.xh.bussiness.textbook.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xh.bussiness.teachbook.bean.dto.TeachingBookModuleTree;
import com.xh.bussiness.textbook.model.TextbookModule;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 讲义模块表 Mapper 接口
 * </p>
 *
 * @author JQM
 * @since 2019-09-26
 */
public interface TextbookModuleMapper extends BaseMapper<TextbookModule> {

    void deleteByTextbookId(@Param("textbookId") String textbookId);

    List<TeachingBookModuleTree> queryTextBookModule(@Param("textbookId") String textbookId);

}
